﻿using Microsoft.AspNetCore.Http;
using Model.Enums.Common;
using Model.Result.Common;

namespace IService.Base
{
    public interface IUploadService : IBaseService<TImage>
    {
        Task<RM_Image> UploadReturnModel(IFormFile file, Enum_ImageSourceType sourceType);

        Task<RM_ApiResult> AdminUpLoad(IFormFile file);

        Task<RM_ApiResult> FrontUpLoad(IFormFile file);
    }
}